<!DOCTYPE html>
<html lang="zh-cmn-Hans">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <!-- <script src="./assets/flexible.js?t=1532848854086"></script> -->
    <script>
        !function (e, t) { function n() { t.body ? t.body.style.fontSize = 12 * o + "px" : t.addEventListener("DOMContentLoaded", n) } function d() { var e = i.clientWidth / 10; i.style.fontSize = e + "px" } var i = t.documentElement, o = e.devicePixelRatio || 1; if (n(), d(), e.addEventListener("resize", d), e.addEventListener("pageshow", function (e) { e.persisted && d() }), o >= 2) { var a = t.createElement("body"), s = t.createElement("div"); s.style.border = ".5px solid transparent", a.appendChild(s), i.appendChild(a), 1 === s.offsetHeight && i.classList.add("hairlines"), i.removeChild(a) } }(window, document);
    </script>
    <!-- <meta name="format-detection" content="telephone=no, date=no, address=no, email=no, url=no"> -->
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <title>雅尊会</title>
    <meta name="description" content="">
    <link rel="stylesheet" href="./css/economic_content.css?t=1532848854086">
    <link rel="stylesheet" href="./assets/vant.min.css?t=1532848854086">
</head>

<body>

    <div class="body-container" id="body-container" v-cloak>

        <div class="title"></div>
        <div class="title-info">置业经纪人工作记录</div>
        <div class="title-info user-info">你好,{{userName}}</div>
        <van-popup v-model="show">
            <div class="message-body">
                <div class="message-title">服务情况记录:</div>
                <textarea placeholder="请输入记录" class="message-content" v-model="message"></textarea>
                <div class="button message-button" @click="postData">提交</div>
                <!-- <van-button @click="postData" slot="button" size="small" type="primary">提交</van-button> -->
                <!-- <van-cell-group>
                    <van-field v-model="message" label="服务情况记录:" type="textarea" placeholder="请输入记录" rows="1" autosize />
                </van-cell-group>
                <div class="button-body">
                    <van-button type="primary" @click="postData">提交</van-button>
                </div> -->

            </div>
        </van-popup>

        <van-popup v-model="show2">
            <div class="list-body">
                <van-row gutter="10">
                    <van-col span="8" class="name-title">发起时间</van-col>
                    <van-col span="8" class="name-title">事项</van-col>
                    <van-col span="8" class="name-title">项目</van-col>
                </van-row>
                <div class="list-item">
                    <van-row gutter="10" v-for="(item,key) in list2" :key="key">
                        <van-col span="8" class="name-title">{{item.createdate}}</van-col>
                        <van-col span="8" class="name-title">{{item.typename}}</van-col>
                        <van-col span="8" class="name-title">{{item.project_name}}</van-col>
                    </van-row>

                </div>

            </div>
        </van-popup>

        <!-- <div class="tab" v-for="item in 2" :key="item" @click="testA(item)">{{item}}</div> -->



        <div class="content-body">
            <van-tabs v-model="active" @click="testA">
                <van-tab v-for="item in 2">
                    <div slot="title">
                        {{item==1?'最新事项':'客户一览'}}
                    </div>
                    <div class="container" v-show="item==1">
                        <van-row gutter="10">
                            <van-col span="6" class="name-title">发起时间</van-col>
                            <van-col span="6" class="name-title">会员姓名</van-col>
                            <van-col span="6" class="name-title">事件类别</van-col>
                            <van-col span="6" class="name-title">项目</van-col>
                        </van-row>
                    </div>
                    <div class="container" v-show="item==2">
                        <van-row gutter="10">
                            <van-col span="6" class="name-title">序号</van-col>
                            <van-col span="6" class="name-title">会员姓名</van-col>
                            <van-col span="6" class="name-title">联系电话</van-col>
                            <van-col span="6" class="name-title">来往记录</van-col>
                        </van-row>
                    </div>
                </van-tab>
            </van-tabs>
            <div class="box" v-show="testKey == 1">
                <van-list v-model="loading" :finished="finished" @load="onLoad">
                    <div class="list-item" @click="postMessage(item,key)" v-for="(item,key) in list" :key="key">
                        <van-row gutter="10">
                            <van-col span="6" class="name-title">{{item.createdate}}</van-col>
                            <van-col span="6" class="name-title">{{item.username_key}}</van-col>
                            <van-col span="6" class="name-title">{{item.typename}}</van-col>
                            <van-col span="6" class="name-title">{{item.project_name}}</van-col>
                        </van-row>
                    </div>
                </van-list>
                <div class="no-content" v-if="!list.length">暂无信息</div>
            </div>
            <div class="box" v-show="testKey == 2">
                <div class="list-item" v-for="(item,key) in list1" :key="key">
                    <van-row gutter="10">
                        <van-col span="6" class="name-title">
                            <div @click="getList(item)">{{item.user_id}}</div>
                        </van-col>
                        <van-col span="6" class="name-title">
                            <div @click="getList(item)">{{item.username_key}}</div>
                            
                        </van-col>
                        <van-col span="6" class="name-title">
                            <a :href="'tel://'+item.telphone_key">
                                {{item.telphone_key}}</a>
                            
                        </van-col>
                        <van-col span="6" class="name-title">
                            <div @click="getList(item)">
                                {{item.typename}}
                            </div>
                            
                        </van-col>
                    </van-row>
                </div>
                <div class="no-content" v-if="!list1.length">暂无信息</div>
            </div>
        </div>
        
        <!-- <div class="box" v-show="testKey == 2">
            <van-list v-model="loading1" :finished="finished1" @load="onLoad1">
                <div class="list-item" @click="getList" v-for="(item,key) in list1" :key="key">
                    <van-row gutter="10">
                        <van-col span="6" class="name-title">{{item.createdate}}</van-col>
                        <van-col span="6" class="name-title">{{item.username_key}}</van-col>
                        <van-col span="6" class="name-title">{{item.typename}}</van-col>
                        <van-col span="6" class="name-title">{{item.typename}}</van-col>
                    </van-row>
                </div>
            </van-list>
            <div v-if="!list1.length">暂无信息</div>
        </div> -->

    </div>


    <script src="./assets/economic_content.base.min.js?t=1532848854086"></script>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js?t=1532848854086"></script>
    <script src="./js/economic_content.js?t=1532848854086"></script>


</body>

</html>